package com.aracky.system.service.impl;

import com.aracky.system.model.entity.SysBtnConfig;
import com.aracky.system.mapper.SysBtnConfigMapper;
import com.aracky.system.model.vo.SysBtnConfigVO;
import com.aracky.system.service.SysBtnConfigService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 按钮配置表 服务实现类
 * </p>
 *
 * @author zzp
 * @since 2022-08-24 11:23:26
 */
@Service
public class SysBtnConfigServiceImpl extends ServiceImpl<SysBtnConfigMapper, SysBtnConfig> implements SysBtnConfigService {

    @Resource
    private SysBtnConfigMapper sysBtnConfigMapper;

    @Override
    public List<SysBtnConfigVO> getBtnCongifList(List<Long> menuIdList) {
        return sysBtnConfigMapper.findBtnConfigList(menuIdList);
    }
}
